//
//  HDLY_CheckInfo.h
//  HDJinShaSiteMuseum
//
//  Created by liuyi on 2017/7/6.
//  Copyright © 2017年 HDNiuKuiming. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface HDLY_CheckInfo : NSObject

#pragma 正则匹配手机号
+ (BOOL)checkTelNumber:(NSString *)telNumber;

#pragma 正则匹配用户密码6-18位数字和字母组合
+ (BOOL)checkPassword:(NSString *)password;

#pragma 正则匹配用户姓名,20位的中文或英文
+ (BOOL)checkUserName:(NSString *)userName;

#pragma 正则匹配用户身份证号
+ (BOOL)checkUserIdCard:(NSString *)idCard;

#pragma 正则匹配URL
+ (BOOL)checkURL:(NSString *)url;

#pragma 正则验证码,6位的数字
+ (BOOL)checkVerifyNumber:(NSString *)number;

#pragma 正则验证码,4位的数字
+ (BOOL)checkQRNumber:(NSString *)number;

#pragma 验证Email地址
+ (BOOL)checkEmail:(NSString *)email;

#pragma 验证购票名字是否合法
+ (BOOL)checkTicketName:(NSString *)name;


@end
